package edu.sctu.fengleilin.month05.day150510;

/**
 * Created by user09 on 2015/5/10.
 */
public class TextFive {

    public static int size ;
    public int number;

    public TextFive(int size){
        this.size = size;
    }

    public TextFive() {
    }

    public int getNumber(){
        for (int i = 0;i < size;i ++){
            number += i;
        }
        return number;
    }
}
